package Dict;

/**
 * Union definition: PropertyType.
 * 
 * @author OpenORB Compiler
 */
public final class PropertyType implements org.omg.CORBA.portable.IDLEntity
{
    /**
     * Union member _d
     */
    protected Dict.CategoryValue __d;

    /**
     * Union member pNom
     */
    protected Dict.PropNom _pNom;

    /**
     * Union member pAdj
     */
    protected Dict.PropAdj _pAdj;

    /**
     * Union member pVer
     */
    protected Dict.PropVer _pVer;

    /**
     * Default constructor
     */
    public PropertyType()
    {
    }

    /**
     * Get discriminator value
     */
    public Dict.CategoryValue discriminator()
    {
        return __d;
    }

    /**
     * Set pNom value
     */
    public void pNom(Dict.PropNom value)
    {
        __d = Dict.CategoryValue.NOM;
        _pNom = value;
    }

    /**
     * Get pNom value
     */
    public Dict.PropNom pNom()
    {
        return _pNom;
    }

    /**
     * Set pAdj value
     */
    public void pAdj(Dict.PropAdj value)
    {
        __d = Dict.CategoryValue.ADJ;
        _pAdj = value;
    }

    /**
     * Get pAdj value
     */
    public Dict.PropAdj pAdj()
    {
        return _pAdj;
    }

    /**
     * Set pVer value
     */
    public void pVer(Dict.PropVer value)
    {
        __d = Dict.CategoryValue.VER;
        _pVer = value;
    }

    /**
     * Get pVer value
     */
    public Dict.PropVer pVer()
    {
        return _pVer;
    }

    /**
     * default access
     */
    public void __default()
    {
    }
    /**
     * default access
     */
    public void __default(Dict.CategoryValue _discriminator)
    {
    }
}
